import request from '@/utils/request'

// 查询养护过程列表
export function listProcessCheck(query) {
  return request({
    url: '/equipment/processCheck/list',
    method: 'get',
    params: query
  })
}

// 查询养护过程详细
export function getProcessCheck(id) {
  return request({
    url: '/equipment/processCheck/' + id,
    method: 'get'
  })
}


// 复核
export function updateProcessReview(data) {
  return request({
    url: '/equipment/processCheck/review',
    method: 'put',
    data: data
  })
}
// 验收
export function updateProcessCheck(data) {
  return request({
    url: '/equipment/processCheck/check',
    method: 'put',
    data: data
  })
}
// 领导审批
export function updateProcessLeaderCheck(data) {
  return request({
    url: '/equipment/processCheck/leaderCheck',
    method: 'put',
    data: data
  })
}

